package com.ruoyi.mall.pms.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 商品满减对象 pms_product_full_reduction
 *
 * @author xuxing
 * @date 2021-02-04
 */
public class PmsProductFullReduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品id */
    @Excel(name = "商品id")
    private Long productId;

    /** 商品满足金额 */
    @Excel(name = "商品满足金额")
    private BigDecimal fullPrice;

    /** 商品减少金额 */
    @Excel(name = "商品减少金额")
    private BigDecimal reducePrice;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductId(Long productId)
    {
        this.productId = productId;
    }

    public Long getProductId()
    {
        return productId;
    }
    public void setFullPrice(BigDecimal fullPrice)
    {
        this.fullPrice = fullPrice;
    }

    public BigDecimal getFullPrice()
    {
        return fullPrice;
    }
    public void setReducePrice(BigDecimal reducePrice)
    {
        this.reducePrice = reducePrice;
    }

    public BigDecimal getReducePrice()
    {
        return reducePrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("fullPrice", getFullPrice())
            .append("reducePrice", getReducePrice())
            .toString();
    }
}
